ExamPlay Light Logo
Se connecter

Computer Science for IGCSE & O level - Programming (Section 14 - No. 42)

What is the primary function of selection statements in programming?
To execute a block of code repeatedly.
To perform mathematical calculations.
To make decisions and control program flow based on conditions.
To declare and initialize variables.

Explication

Selection statements allow the program to choose what code to execute based on whether conditions are true or false.

Commentaires (0)

Connectez-vous pour commenter
Publicité
BrainBehindX Inc Logo
©2026; Alimenté par BrainBehindX Inc